@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="consititutionInfoForm"> 
            <input type="hidden" id="id" value="${constitution.id}">
            <input type="hidden" id="contentVal" value='${constitution.content}'>

                  <div class="row">
                <div class="col-sm-12">
                    <div class="form-group">
                        <label class="col-sm-1 control-label">宪法名称</label>
                        <div class="col-sm-11">
                            <input class="form-control" id="name" name="name" type="text"  value="${constitution.name}">

                        </div>
                    </div>
                   
                    <div class="form-group">
                        <label class="col-sm-1 control-label">所属分类</label>
                        <div class="col-sm-11">
                            <input class="form-control" id="category" name="category" type="text" value="${constitution.category}">

                        </div>
                    </div>
                     <div class="form-group">
                        <label class="col-sm-1 control-label">宪法内容</label>
                        <div class="col-sm-11">
                            <div id="editor" class="editorHeight">
                            </div>
                        </div>
                    </div>
                     <div class="form-group">
                        <label class="col-sm-1 control-label">状态</label>
                        <div class="col-sm-11">
                            <input class="form-control" id="status" name="status" type="text" value="${constitution.status}">

                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">顺序</label>
                        <div class="col-sm-11">
                            <input class="form-control" id="sort" name="sort" type="text" value="${constitution.sort}">

                        </div>
                    </div>
                   
                </div>
            </div>


            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ConstitutionInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ConstitutionInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script type="text/javascript" src="//unpkg.com/wangeditor/release/wangEditor.min.js"></script>
<script src="${ctxPath}/static/modular/party/constitution/constitution_info.js"></script>
@}
